﻿using MVCMS.Core.Model;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;

namespace MVCMS.Core.Tests
{
    
    
    /// <summary>
    ///This is a test class for CmsFolderTest and is intended
    ///to contain all CmsFolderTest Unit Tests
    ///</summary>
    [TestClass()]
    public class CmsFolderTest
    {


        private TestContext testContextInstance;

        /// <summary>
        ///Gets or sets the test context which provides
        ///information about and functionality for the current test run.
        ///</summary>
        public TestContext TestContext
        {
            get
            {
                return testContextInstance;
            }
            set
            {
                testContextInstance = value;
            }
        }

        #region Additional test attributes
        // 
        //You can use the following additional attributes as you write your tests:
        //
        //Use ClassInitialize to run code before running the first test in the class
        //[ClassInitialize()]
        //public static void MyClassInitialize(TestContext testContext)
        //{
        //}
        //
        //Use ClassCleanup to run code after all tests in a class have run
        //[ClassCleanup()]
        //public static void MyClassCleanup()
        //{
        //}
        //
        //Use TestInitialize to run code before running each test
        //[TestInitialize()]
        //public void MyTestInitialize()
        //{
        //}
        //
        //Use TestCleanup to run code after each test has run
        //[TestCleanup()]
        //public void MyTestCleanup()
        //{
        //}
        //
        #endregion



        /// <summary>
        ///A test for RootPage
        ///</summary>
        [TestMethod()]
        [DeploymentItem("MVCMS.Core.dll")]
        public void RootPageTest()
        {
            CmsFolder_Accessor target = new CmsFolder_Accessor(); // TODO: Initialize to an appropriate value
            CmsPage expected = null; // TODO: Initialize to an appropriate value
            CmsPage actual;
            target.RootPage = expected;
            actual = target.RootPage;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for Parent
        ///</summary>
        [TestMethod()]
        public void ParentTest()
        {
            CmsFolder target = new CmsFolder(); // TODO: Initialize to an appropriate value
            CmsFolder expected = null; // TODO: Initialize to an appropriate value
            CmsFolder actual;
            target.Parent = expected;
            actual = target.Parent;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for Pages
        ///</summary>
        [TestMethod()]
        [DeploymentItem("MVCMS.Core.dll")]
        public void PagesTest()
        {
            CmsFolder_Accessor target = new CmsFolder_Accessor(); // TODO: Initialize to an appropriate value
            List<CmsPage> expected = null; // TODO: Initialize to an appropriate value
            List<CmsPage> actual;
            target.Pages = expected;
            actual = target.Pages;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for Name
        ///</summary>
        [TestMethod()]
        public void NameTest()
        {
            CmsFolder target = new CmsFolder(); // TODO: Initialize to an appropriate value
            string expected = string.Empty; // TODO: Initialize to an appropriate value
            string actual;
            target.Name = expected;
            actual = target.Name;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for ID
        ///</summary>
        [TestMethod()]
        public void IDTest()
        {
            CmsFolder target = new CmsFolder(); // TODO: Initialize to an appropriate value
            Guid expected = new Guid(); // TODO: Initialize to an appropriate value
            Guid actual;
            target.ID = expected;
            actual = target.ID;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for Remove
        ///</summary>
        [TestMethod()]
        public void RemoveTest1()
        {
            CmsFolder target = new CmsFolder(); // TODO: Initialize to an appropriate value
            CmsPage page = null; // TODO: Initialize to an appropriate value
            bool expected = false; // TODO: Initialize to an appropriate value
            bool actual;
            actual = target.Remove(page);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for Remove
        ///</summary>
        [TestMethod()]
        [DeploymentItem("MVCMS.Core.dll")]
        public void RemoveTest()
        {
            CmsFolder_Accessor target = new CmsFolder_Accessor(); // TODO: Initialize to an appropriate value
            CmsFolder folder = null; // TODO: Initialize to an appropriate value
            bool expected = false; // TODO: Initialize to an appropriate value
            bool actual;
            actual = target.Remove(folder);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for IsEmpty
        ///</summary>
        [TestMethod()]
        [DeploymentItem("MVCMS.Core.dll")]
        public void IsEmptyTest()
        {
            CmsFolder_Accessor target = new CmsFolder_Accessor(); // TODO: Initialize to an appropriate value
            bool expected = false; // TODO: Initialize to an appropriate value
            bool actual;
            actual = target.IsEmpty();
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for GetPage
        ///</summary>
        [TestMethod()]
        public void GetPageTest()
        {
            CmsFolder target = new CmsFolder(); // TODO: Initialize to an appropriate value
            string name = string.Empty; // TODO: Initialize to an appropriate value
            CmsPage expected = null; // TODO: Initialize to an appropriate value
            CmsPage actual;
            actual = target.GetPage(name);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for Exists
        ///</summary>
        [TestMethod()]
        public void ExistsTest()
        {
            CmsFolder target = new CmsFolder(); // TODO: Initialize to an appropriate value
            string name = string.Empty; // TODO: Initialize to an appropriate value
            bool expected = false; // TODO: Initialize to an appropriate value
            bool actual;
            actual = target.Exists(name);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for Contains
        ///</summary>
        [TestMethod()]
        public void ContainsTest()
        {
            CmsFolder target = new CmsFolder(); // TODO: Initialize to an appropriate value
            string name = string.Empty; // TODO: Initialize to an appropriate value
            bool expected = false; // TODO: Initialize to an appropriate value
            bool actual;
            actual = target.Contains(name);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for AddPage
        ///</summary>
        [TestMethod()]
        public void AddPageTest()
        {
            CmsFolder target = new CmsFolder(); // TODO: Initialize to an appropriate value
            CmsPage page = null; // TODO: Initialize to an appropriate value
            target.AddPage(page);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for AddFolder
        ///</summary>
        [TestMethod()]
        public void AddFolderTest()
        {
            CmsFolder target = new CmsFolder(); // TODO: Initialize to an appropriate value
            CmsFolder folder = null; // TODO: Initialize to an appropriate value
            target.AddFolder(folder);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for CmsFolder Constructor
        ///</summary>
        [TestMethod()]
        public void CmsFolderConstructorTest()
        {
            CmsFolder target = new CmsFolder();
            Assert.Inconclusive("TODO: Implement code to verify target");
        }
    }
}
